﻿using System;
using System.Collections.Generic;
using System.Text;
using OhioState.Graphics;

namespace GL_Panel
{
    public class TrackballPanel : System.Windows.Forms.Control, IRenderPanel
    {
        public TrackballPanel()
        {
        }

        #region IRenderPanel Members

        public bool Compile(OhioState.Graphics.Proxy.ShaderRoutine routine)
        {
            //throw new NotImplementedException();
            return true;
        }

        public int FrameCount
        {
            get { throw new NotImplementedException(); }
        }

        public int Height
        {
            get { return 100; }
        }

        public void Invalidate()
        {
            //throw new NotImplementedException();
        }

        public bool Link(OhioState.Graphics.Proxy.ShaderProgram program)
        {
            //throw new NotImplementedException();
            return true;
        }

        public IRenderResourceManager ResourceManager
        {
            get { return null; }
        }

        public void SetBackgroundColor(float red, float green, float blue)
        {
            //throw new NotImplementedException();
        }

        public bool UpdateFrameCounter
        {
            get
            {
                return true;
                //throw new NotImplementedException();
            }
            set
            {
                //throw new NotImplementedException();
            }
        }

        public int Width
        {
            get { return 100; }
        }

        public event RenderScene renderScene;

        #endregion
    }
}
